package ch03;
/**
 * Created by XiaYihua on 2017/1/24.
 */
public class Average {
    public static void main(String[] args) {
        long sum=0;
        for(String arg:args){
            sum += Long.parseLong(arg);
        }
        System.out.println("平均："+(float) sum/args.length);
    }
}
